package com.qijian.maindata.domain.query;

import java.math.BigDecimal;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 工艺变更明细对象 查询条件类
 *
 * @author qijian
 * @date 2022-02-22
 */

@Data
@ToString
@TableName("main_line_change_detail")
public class LineChangeDetailQuery {

    @WhereType(filed = "process_id")
    private Long processId;
    @WhereType(filed = "type")
    private Long type;
    @WhereType(filed = "change_id")
    private Long changeId;
    @WhereType(filed = "line_id")
    private Long lineId;
    @WhereType(filed = "line_code")
    private String lineCode;
    @WhereType(filed = "pid")
    private Long pid;
    @WhereType(filed = "process_code")
    private String processCode;
    @WhereType(filed = "process_name")
    private String processName;
    @WhereType(filed = "report_mode")
    private String reportMode;
    @WhereType(filed = "process_type")
    private String processType;
    @WhereType(filed = "process_type_name")
    private String processTypeName;
    @WhereType(filed = "wait_time")
    private BigDecimal waitTime;
    @WhereType(filed = "work_time")
    private BigDecimal workTime;
    @WhereType(filed = "work_cost")
    private BigDecimal workCost;
    @WhereType(filed = "scheme_id")
    private Long schemeId;
    @WhereType(filed = "scheme_name")
    private String schemeName;
    @WhereType(filed = "process_file")
    private String processFile;
    @WhereType(filed = "sort")
    private Long sort;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "is_default")
    private Boolean isDefault;
    @WhereType(filed = "plan_system")
    private String planSystem;
    @WhereType(filed = "plan_code")
    private String planCode;
    @WhereType(filed = "code")
    private String code;
    @WhereType(filed = "bom_id")
    private Long bomId;
    @WhereType(filed = "bom_name")
    private String bomName;
    @WhereType(filed = "version")
    private String version;
    @WhereType(filed = "status")
    private Long status;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
